#ifndef MAINCLASS_H
#define MAINCLASS_H
#include <QtGui/QMainWindow>
#include <QMainWindow>
#include <QMdiArea>
#include <QMenuBar>
#include <QMenu>
#include <QAction>
#include <QStatusBar>
#include <QLabel>
#include <QDebug>
class MainClass : public QMainWindow
{
    Q_OBJECT
public:
    MainClass(QWidget *parent = 0);
    QMdiArea *mdiWidget;
    QMdiSubWindow *mdiSub;
    QStatusBar *statusBar;
    QLabel *parametr, *value;
    QMenuBar *menuBar;
    //
    QMenu *menuFileSystem;
    QAction *actNewSystem, *actLoadSystem, *actSaveProfile, *actLoadProfile;
    //
    QMenu *menuSystemSet,*menuEnrerEntCondit, *menuActiveParametr, *menuInc ;
    QAction *showParametrsFrm,*showEntConditFrm, /**showEntConSetFrm,*/*onPhaseProjection,
    *onSeperation, *setFixEntCondit,*loadEntCondit, *saveEntCondit, //*showCycleFrm;
    *actAddPar0, *actSubPar0, *actAddInc0, *actSubInc0, *actAddPar1, *actSubPar1, *actAddInc1, *actSubInc1,
    *actSaveVectors, *actRestoreVectors;

    //
    QMenu *menuIntegrationSet;
    QAction *showIntegretFrm, *actBeginIntegration, *actStopIntegration,
    *actSaveIntegrationResult;
    //
    QMenu *menuActiveWindowPlot;
    QAction *showPlotSetFrm, *actScalePlane, *actClearPlane, *savePlotFile, *saveConfigPlot,
            *actClosePlane;
    //
    QMenu *menuSetingPlot, *menuListPlane;
    QAction *actAddPlane, *actLoadPlot, *actAllPlotCascade, *actAllPlotWithoutBlockings,
    *actNextPlane, *actPrevPlane,*actAllPlotMinimize,*actAllScalePlane,*actAllClearPlane;
    /**actAllPlotVertically, *actAllPlotHorizontal, *actAllPlotShow,*/

    //
    QMenu *menuHelp;

    double h;
    int N, i;
    public slots:
    //void setActiveWindow(QWidget *p);
};

#endif // MAINCLASS_H
